<script type="text/javascript">
if (! !!location.hostname.includes('globalforestwatch.org'))
  window.liveSettings={api_key:"9eda410a7db74687ba40771c56abd357",staging:true};
</script>
<script type="text/javascript" src="//cdn.transifex.com/live.js"></script>
<header id="headerView" class="layout-header">
  <div id="headerGfw"></div>
  <div class="layout-header-bottom">
  	<div class="inner">
  		<%= render 'shared/navbar2_landing' %>
  	</div>
  </div>
  <div class="layout-share-mobile">
    <a href="#" class="share-link" data-hideembed="1"><svg><use xlink:href="#shape-share"></use></svg></a>
    <% if content_for?(:headerMobile) %>
      <%= yield :headerMobile %>
    <% end %>
  </div>
</header>
<script>
  if (! !!window.gfw) {
    var gfw = window.gfw = {
      config: {
        GFW_API_HOST: "<%= ENV['GFW_API_HOST'] %>",
        GFW_MOBILE: 1000
      },
      cacheVersion: "<%= ENV['CACHE_VERSION'] %>",
      layer_spec: "<%= ENV['LAYER_SPEC'] %>"
    };
  }
</script>
